<style>#outpatientNamed {-webkit-appearance: none;border: none;background: none;color: white;font-size: 14px;outline: none;}</style>
<div style="display: none">
    <input type="hidden" id="outpatientNameValue" value="${outpatientName}">
    <input type="hidden" id="userName" value="${userName}">
    <input type="hidden" id="passWord" value="${passWord}">
    <input type="hidden" id="pageStart" value="1">
</div>
<div id="page-wrapper">
    <div id="page-middle" style="text-align: center;color: white;font-weight: bold;font-size: 18px;">武汉大学口腔医院医联体</div>
    <div id="page-middle" style="display: none;">
        <div id="marketSearch"><!--市场-->
            <div class="searchBox">
                <span class="glyphicon glyphicon-search" style="top: -10px;left: 10px;"></span>
                <input type="text" id="marketInputPublic" autocomplete="off" class="inputPublic" placeholder="输入患者姓名或电话"
                       oninput="marketSearch()">
            </div>
            <button class="btn" type="button" id="marketSearchAll">搜索</button>
            <div id="marketSearchContent"></div>
        </div>
        <div id="foregroundSearch"><!--前台-->
            <div class="searchBox">
                <span class="glyphicon glyphicon-search" style="top: -10px;left: 10px;"></span>
                <input type="text" id="foregroundInputPublic" autocomplete="off" class="inputPublic" placeholder="输入患者姓名或电话"
                       oninput="foregroundSearch()">
            </div>
            <button class="btn" type="button" id="foregroundSearchAll">匹配</button>
            <div id="foregroundSearchContent"></div>
        </div>
        <div id="doctorTcSearch"><!--TC-->
            <div class="searchBox">
                <span class="glyphicon glyphicon-search" style="top: -10px;left: 10px;"></span>
                <input type="text" id="doctorTcInputPublic" autocomplete="off" class="inputPublic" placeholder="输入患者姓名或电话"
                       oninput="doctorTcSearch()">
            </div>
            <button class="btn" type="button" id="doctorTcSearchAll">搜索</button>
            <div id="doctorTcSearchContent"></div>
        </div>
        <div id="doctorTcSearchs"><!--结账-->
            <div class="searchBox">
                <span class="glyphicon glyphicon-search" style="top: -10px;left: 10px;"></span>
                <input type="text" id="doctorTcInputPublics" autocomplete="off" class="inputPublic" placeholder="输入患者姓名或电话"
                       oninput="doctorTcSearchs()">
            </div>
            <button class="btn" type="button" id="doctorTcSearchAlls">搜索</button>
            <div id="doctorTcSearchContents"></div>
        </div>
        <div id="doctorSearch"><!--医生-->
            <div class="searchBox">
                <span class="glyphicon glyphicon-search" style="top: -10px;left: 10px;"></span>
                <input type="text" id="doctorInputPublic" autocomplete="off" class="inputPublic" placeholder="输入患者姓名或电话"
                       oninput="doctorSearch()">
            </div>
            <button class="btn" type="button" id="doctorSearchAll">搜索</button>
            <div id="doctorSearchContent"></div>
        </div>
        <div id="caseSelectionSearch"><!--病例评选-->
            <div class="searchBox">
                <span class="glyphicon glyphicon-search" style="top: -10px;left: 10px;"></span>
                <input type="text" id="caseSelectionPublic" autocomplete="off" class="inputPublic" placeholder="输入患者姓名或电话">
            </div>
            <button class="btn" type="button" id="caseSelectionSearchAll">搜索</button>
            <div id="caseSelectionSearchContent"></div>
        </div>
    </div>
    <div style="position: absolute;top: 0;right: 140px;display: none;">
        <div>
            <select id="outpatientNamed" name="outpatientNamed" style="width: 80px;padding-left: 15px;"></select>
            <b class="caret" style="color: white;position: absolute;top: 47%;right: -2px;"></b>
        </div>
    </div>
    <div style="position: absolute;right: 0;top: 0;color: white">
        <div id="information" style="padding: 0 15px;cursor: pointer">
            <img alt="image" class="img-circle" src="${avatar}" style="width: 40px;"/>
            <span id="loggedPerson">
                <span>${shiro.getUser().account}<b class="caret" style="margin-left: 5px;"></b></span>
            </span>
            <div id="loggedInformation">
                <div><span style="color: #ff7e00;">${shiro.getUser().roleNames[0]}</span></div>
                <div><a class="J_menuItem" href="${ctxPath}/mgr/user_info" target="iframe0">个人资料</a></div>
                <div style="border:none"><a class="J_menuItem" href="${ctxPath}/mgr/user_chpwd"
                                            target="iframe0">修改密码</a></div>
                <div><a href="${ctxPath}/logout" style="color: white">安全退出</a></div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/index/_right.js?v=20140829"></script>